﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShopOnline.DAL;

namespace ShopOnline.BLL
{
    public class BCTextBlock : _BCTextBlock
    {
        public static BCTextBlock GetTextBlockByCardDetailID(int cardDetailID)
        {
            try
            {
                BCTextBlock textBlocks = new BCTextBlock();
                textBlocks.Where.CardID.Value = cardDetailID;
                textBlocks.Query.Load();
                return textBlocks;
            }
            catch (Exception ex)
            {
                throw (ex);
            }
        }
    }
}
